package com.tour.controller.backend;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转Controller
 * <p>Title: PageController</p>
 * <p>Description: </p>
 * <p>Company: www.itcast.cn</p> 
 * @version 1.0
 */
@Controller
public class PageController {

//	@RequestMapping("/")
//	public String showIndex() {
//		return "backend/index";
//	}
	
	@RequestMapping("/backend/nav_{page}")
	public String showPage(@PathVariable String page) {
		return "backend/"+page;
	}
	
	
}
